\section{Tools.DEncrypt类参考}
\label{class_tools_1_1_d_encrypt}\index{Tools::DEncrypt@{Tools::DEncrypt}}


Encrypt 的摘要说明。  


\subsection*{公有成员}
\begin{DoxyCompactItemize}
\item 
{\bf DEncrypt} ()
\begin{DoxyCompactList}\small\item\em 构造方法 \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{静态公有成员}
\begin{DoxyCompactItemize}
\item 
static string {\bf Encrypt} (string original)
\begin{DoxyCompactList}\small\item\em 使用缺省密钥字符串加密string \item\end{DoxyCompactList}\item 
static string {\bf Decrypt} (string original)
\begin{DoxyCompactList}\small\item\em 使用缺省密钥字符串解密string \item\end{DoxyCompactList}\item 
static string {\bf Encrypt} (string original, string key)
\begin{DoxyCompactList}\small\item\em 使用给定密钥字符串加密string \item\end{DoxyCompactList}\item 
static string {\bf Decrypt} (string original, string key)
\begin{DoxyCompactList}\small\item\em 使用给定密钥字符串解密string \item\end{DoxyCompactList}\item 
static string {\bf Decrypt} (string encrypted, string key, Encoding encoding)
\begin{DoxyCompactList}\small\item\em 使用给定密钥字符串解密string,返回指定编码方式明文 \item\end{DoxyCompactList}\item 
static byte[$\,$] {\bf Decrypt} (byte[$\,$] encrypted)
\begin{DoxyCompactList}\small\item\em 使用缺省密钥字符串解密byte[] \item\end{DoxyCompactList}\item 
static byte[$\,$] {\bf Encrypt} (byte[$\,$] original)
\begin{DoxyCompactList}\small\item\em 使用缺省密钥字符串加密 \item\end{DoxyCompactList}\item 
static byte[$\,$] {\bf MakeMD5} (byte[$\,$] original)
\begin{DoxyCompactList}\small\item\em 生成MD5摘要 \item\end{DoxyCompactList}\item 
static byte[$\,$] {\bf Encrypt} (byte[$\,$] original, byte[$\,$] key)
\begin{DoxyCompactList}\small\item\em 使用给定密钥加密 \item\end{DoxyCompactList}\item 
static byte[$\,$] {\bf Decrypt} (byte[$\,$] encrypted, byte[$\,$] key)
\begin{DoxyCompactList}\small\item\em 使用给定密钥解密数据 \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{详细描述}
Encrypt 的摘要说明。 

\subsection{构造及析构函数文档}
\index{Tools::DEncrypt@{Tools::DEncrypt}!DEncrypt@{DEncrypt}}
\index{DEncrypt@{DEncrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{DEncrypt}]{\setlength{\rightskip}{0pt plus 5cm}Tools.DEncrypt.DEncrypt (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tools_1_1_d_encrypt_a4b01a5ca225bde9e82c5989752f5ea3b}


构造方法 



\subsection{成员函数文档}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Decrypt@{Decrypt}}
\index{Decrypt@{Decrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Decrypt}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.DEncrypt.Decrypt (
\begin{DoxyParamCaption}
\item[{string}]{ original}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_aa2b0161753b8a92a0af7e7ee563f880f}


使用缺省密钥字符串解密string 


\begin{DoxyParams}{参数}
{\em original} & 密文\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
明文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Decrypt@{Decrypt}}
\index{Decrypt@{Decrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Decrypt}]{\setlength{\rightskip}{0pt plus 5cm}static byte [$\,$] Tools.DEncrypt.Decrypt (
\begin{DoxyParamCaption}
\item[{byte[$\,$]}]{ encrypted, }
\item[{byte[$\,$]}]{ key}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_a83a0023701bf53731acef0cf581f28dd}


使用给定密钥解密数据 


\begin{DoxyParams}{参数}
{\em encrypted} & 密文\\
\hline
{\em key} & 密钥\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
明文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Decrypt@{Decrypt}}
\index{Decrypt@{Decrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Decrypt}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.DEncrypt.Decrypt (
\begin{DoxyParamCaption}
\item[{string}]{ original, }
\item[{string}]{ key}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_abfbe4a8e2e6ec7b527f44e2d7d7fc5e5}


使用给定密钥字符串解密string 


\begin{DoxyParams}{参数}
{\em original} & 密文\\
\hline
{\em key} & 密钥\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
明文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Decrypt@{Decrypt}}
\index{Decrypt@{Decrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Decrypt}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.DEncrypt.Decrypt (
\begin{DoxyParamCaption}
\item[{string}]{ encrypted, }
\item[{string}]{ key, }
\item[{Encoding}]{ encoding}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_a6a644dd0a08d6fc180b6e2e90bd95665}


使用给定密钥字符串解密string,返回指定编码方式明文 


\begin{DoxyParams}{参数}
{\em encrypted} & 密文\\
\hline
{\em key} & 密钥\\
\hline
{\em encoding} & 字符编码方案\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
明文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Decrypt@{Decrypt}}
\index{Decrypt@{Decrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Decrypt}]{\setlength{\rightskip}{0pt plus 5cm}static byte [$\,$] Tools.DEncrypt.Decrypt (
\begin{DoxyParamCaption}
\item[{byte[$\,$]}]{ encrypted}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_a87aea95632597425b0c6b372d690b0d7}


使用缺省密钥字符串解密byte[] 


\begin{DoxyParams}{参数}
{\em encrypted} & 密文\\
\hline
{\em key} & 密钥\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
明文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Encrypt@{Encrypt}}
\index{Encrypt@{Encrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Encrypt}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.DEncrypt.Encrypt (
\begin{DoxyParamCaption}
\item[{string}]{ original, }
\item[{string}]{ key}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_aab29298eae7650cbb0d865d72b61554b}


使用给定密钥字符串加密string 


\begin{DoxyParams}{参数}
{\em original} & 原始文字\\
\hline
{\em key} & 密钥\\
\hline
{\em encoding} & 字符编码方案\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
密文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Encrypt@{Encrypt}}
\index{Encrypt@{Encrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Encrypt}]{\setlength{\rightskip}{0pt plus 5cm}static byte [$\,$] Tools.DEncrypt.Encrypt (
\begin{DoxyParamCaption}
\item[{byte[$\,$]}]{ original, }
\item[{byte[$\,$]}]{ key}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_a7f0805cbc80e0fc79da3bed433002374}


使用给定密钥加密 


\begin{DoxyParams}{参数}
{\em original} & 明文\\
\hline
{\em key} & 密钥\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
密文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Encrypt@{Encrypt}}
\index{Encrypt@{Encrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Encrypt}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.DEncrypt.Encrypt (
\begin{DoxyParamCaption}
\item[{string}]{ original}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_a8740f436753574a3bfb81f78940026cc}


使用缺省密钥字符串加密string 


\begin{DoxyParams}{参数}
{\em original} & 明文\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
密文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!Encrypt@{Encrypt}}
\index{Encrypt@{Encrypt}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{Encrypt}]{\setlength{\rightskip}{0pt plus 5cm}static byte [$\,$] Tools.DEncrypt.Encrypt (
\begin{DoxyParamCaption}
\item[{byte[$\,$]}]{ original}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_a2f0d34709517a7d89ce07b268bd98c1f}


使用缺省密钥字符串加密 


\begin{DoxyParams}{参数}
{\em original} & 原始数据\\
\hline
{\em key} & 密钥\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
密文
\end{DoxyReturn}
\index{Tools::DEncrypt@{Tools::DEncrypt}!MakeMD5@{MakeMD5}}
\index{MakeMD5@{MakeMD5}!Tools::DEncrypt@{Tools::DEncrypt}}
\subsubsection[{MakeMD5}]{\setlength{\rightskip}{0pt plus 5cm}static byte [$\,$] Tools.DEncrypt.MakeMD5 (
\begin{DoxyParamCaption}
\item[{byte[$\,$]}]{ original}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_d_encrypt_ad313d36e50c3e237ca00b8fd216a42bf}


生成MD5摘要 


\begin{DoxyParams}{参数}
{\em original} & 数据源\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
摘要
\end{DoxyReturn}


该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/Tools/EncryptHelper.cs\end{DoxyCompactItemize}
